home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5463 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  968 b 

  1. Path: rcp6.elan.af.mil!rscernix!danpop
  2. Newsgroups: comp.lang.c
  3. Subject: Re: Unable to check callo
  4. Message-ID: <danpop.823791819@rscernix>
  5. From: danpop@mail.cern.ch (Dan Pop)
  6. Date: 8 Feb 96 15:03:39 GMT
  7. References: <4fakm9$24f@gail.ripco.com>
  8. Organization: Air Force Flight Test Center
  9. NNTP-Posting-Host: ues5.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11.  
  12. In <4fakm9$24f@gail.ripco.com> mambuhl@ripco.com (Martin Ambuhl) writes:
  13.  
  14. >At the time of K&R1 (1978), the "standard" library had calloc() but
  15. >_not_ malloc().  malloc() is a stripped down version of calloc() rather
  16. >than calloc() being an augmented malloc().  So calloc() exists in older
  17. >C programs that would break if it were not available.
  18.  
  19. It's a fairly long time since I've read K&R1, but I clearly remember
  20. malloc being described there (including a demo Unix implementation).
  21.  
  22. Dan
  23. --
  24. Dan Pop
  25. CERN, CN Division
  26. Email: danpop@mail.cern.ch 
  27. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  28.